package com.guangdujs.kis.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.guangdujs.kis.mapper.TOrganizationMapper;
import com.guangdujs.kis.domain.TOrganization;
import com.guangdujs.kis.service.ITOrganizationService;

/**
 * 客户Service业务层处理
 * 
 * @author kis
 * @date 2022-11-01
 */
@Service
public class TOrganizationServiceImpl implements ITOrganizationService 
{
    @Autowired
    private TOrganizationMapper tOrganizationMapper;

    /**
     * 查询客户
     * 
     * @param fitemid 客户主键
     * @return 客户
     */
    @Override
    public TOrganization selectTOrganizationByFitemid(Long fitemid)
    {
        return tOrganizationMapper.selectTOrganizationByFitemid(fitemid);
    }

    /**
     * 查询客户列表
     * 
     * @param tOrganization 客户
     * @return 客户
     */
    @Override
    public List<TOrganization> selectTOrganizationList(TOrganization tOrganization)
    {
        return tOrganizationMapper.selectTOrganizationList(tOrganization);
    }

}
